package com.mfcxy.entity;

/**
 * 角色实体类
 * 
 * @author mfcxy
 *
 */
public class Role {
	private int rid;
	private String name;
	private int pid;
	private String parentids;
	private String status;
	private String remark;
	private boolean checked = false; // 标记权限是否选中

	public int getRid() {
		return rid;
	}

	public void setRid(int rid) {
		this.rid = rid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}
	
	public String getParentids() {
		return parentids;
	}

	public void setParentids(String parentids) {
		this.parentids = parentids;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	@Override
	public String toString() {
		return "Role [rid=" + rid + ", name=" + name + ", pid=" + pid + ", parentids=" + parentids + ", status="
				+ status + ", remark=" + remark + ", checked=" + checked + "]";
	}

}
